package cz.muni.fi.pa165.travelagency.web;
 
import net.sourceforge.stripes.action.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
 
@UrlBinding("/admin/{$event}")
public class AdminActionBean implements ActionBean {
 
    final static Logger log = LoggerFactory.getLogger(AdminActionBean.class);
 
    private ActionBeanContext context;

    @DefaultHandler
    public Resolution index() {
        return new ForwardResolution("/admin.jsp");
    }
   
    @Override
    public void setContext(ActionBeanContext context) {
        this.context = context;
    }
 
    @Override
    public ActionBeanContext getContext() {
        return context;
    }
}